const Mock = require('mockjs')
//定义数据
let data = {
    'index': {
        'lr': {
            'title': "送恋人/爱情鲜花",
            'data': [{
                "ItemCode": "9012587",
                "Price": 275,
                "LinePrice": 369,
                "Cpmc": "百事合意/粉玫瑰香水百合大号",
                "Instro": "戴安娜玫瑰19枝、白色香水百合2枝、尤加利叶10枝",
                "Sales": "1222",
                "img": "https://img01.hua.com/uploadpic/newpic/9012587.jpg_220x240.jpg",
                "count":1,
                // "flag":1, //判断是否选中
            }, {
                "ItemCode": "9012471",
                "Price": 156,
                "LinePrice": 216,
                "Cpmc": "你是唯一",
                "Instro": "卡罗拉红玫瑰11枝",
                "Sales": "11.6万",
                "img": "https://img01.hua.com/uploadpic/newpic/9012471.jpg_220x240.jpg",
                "count":1
            }, {
                "ItemCode": "9012579",
                "Price": 399,
                "LinePrice": 628,
                "Cpmc": "深情挚爱/52枝",
                "Instro": "卡罗拉玫瑰52枝",
                "Sales": "684",
                "img": "https://img01.hua.com/uploadpic/newpic/9012579.jpg_220x240.jpg",
                "count":1
            }, {
                "ItemCode": "9012467",
                "Price": 156,
                "LinePrice": 218,
                "Cpmc": "Best for You",
                "Instro": "粉玫瑰11枝",
                "Sales": "3.6万",
                "img": "https://img01.hua.com/uploadpic/newpic/9012467.jpg_220x240.jpg",
                "count":1
            }, {
                "ItemCode": "9010966",
                "Price": 259,
                "LinePrice": 363,
                "Cpmc": "一往情深",
                "Instro": "精品玫瑰礼盒:19枝卡罗拉红玫瑰，勿忘我1枝",
                "Sales": "14.5万",
                "img": "https://img01.hua.com/uploadpic/newpic/9010966.jpg_220x240.jpg",
                "count":1
            }, {
                "ItemCode": "9012243",
                "Price": 218,
                "LinePrice": 295,
                "Cpmc": "恋恋情深",
                "Instro": "11枝香槟玫瑰，白色多头百合2枝",
                "Sales": "9.4万",
                "img": "https://img01.hua.com/uploadpic/newpic/9012243.jpg_220x240.jpg",
                "count":1
            }, {
                "ItemCode": "9012177",
                "Price": 599,
                "LinePrice": 1153,
                "Cpmc": "不变的承诺",
                "Instro": "99枝卡罗拉红玫瑰",
                "Sales": "7.9万",
                "img": "https://img01.hua.com/uploadpic/newpic/9012177.jpg_220x240.jpg",
                "count":1
            }, {
                "ItemCode": "9012473",
                "Price": 326,
                "LinePrice": 459,
                "Cpmc": "韩式系列/你笑起来真好看",
                "Instro": "艾莎玫瑰19枝",
                "Sales": "9259",
                "img": "https://img01.hua.com/uploadpic/newpic/9012473.jpg_220x240.jpg",
                "count":1
            }]
        },
        'zb': {
            'title': "送长辈鲜花",
            'data': [
                {
                    "ItemCode": "9012582",
                    "Price": 239,
                    "LinePrice": 299,
                    "Cpmc": "晴空灿烂",
                    "Instro": "香槟玫瑰11枝，白色洋桔梗5枝",
                    "Sales": "186",
                    "img": "https://img01.hua.com/uploadpic/newpic/9012582.jpg_220x240.jpg",
                    "count":1
                }, {
                    "ItemCode": "9012503",
                    "Price": 292,
                    "LinePrice": 390,
                    "Cpmc": "健康喜乐",
                    "Instro": "红色康乃馨29枝、粉色百合3枝、黄色勿忘我3枝、尤加利10枝",
                    "Sales": "5065",
                    "img": "https://img01.hua.com/uploadpic/newpic/9012503.jpg_220x240.jpg",
                    "count":1
                }, {
                    "ItemCode": "9012461",
                    "Price": 239,
                    "LinePrice": 368,
                    "Cpmc": "韩式系列/温柔以待",
                    "Instro": "粉色康乃馨13枝，戴安娜玫瑰5枝、粉色洋桔梗5枝、浅紫紫罗兰5枝、尤加利10枝",
                    "Sales": "2.4万",
                    "img": "https://img01.hua.com/uploadpic/newpic/9012461.jpg_220x240.jpg",
                    "count":1
                }, {
                    "ItemCode": "9012505",
                    "Price": 179,
                    "LinePrice": 275,
                    "Cpmc": "母爱",
                    "Instro": "玫红色康乃馨9枝、粉色多头康乃馨10枝",
                    "Sales": "6289",
                    "img": "https://img01.hua.com/uploadpic/newpic/9012505.jpg_220x240.jpg",
                    "count":1
                }, {
                    "ItemCode": "9010842",
                    "Price": 182,
                    "LinePrice": 279,
                    "Cpmc": "感恩密码",
                    "Instro": "粉色康乃馨16枝、浅粉满天星3枝、尤加利10枝",
                    "Sales": "1.5万",
                    "img": "https://img01.hua.com/uploadpic/newpic/9010842.jpg_220x240.jpg",
                    "count":1
                }, {
                    "ItemCode": "9012540",
                    "Price": 496,
                    "LinePrice": 831,
                    "Cpmc": "健康长久",
                    "Instro": "红色康乃馨99枝、红多头康乃馨10枝",
                    "Sales": "519",
                    "img": "https://img01.hua.com/uploadpic/newpic/9012540.jpg_220x240.jpg",
                    "count":1
                }
            ]
        },
        'ysh': {
            'tit': "永生花精选",
            'data': [
                {
                    "ItemCode": "1073264",
                    "Price": 298,
                    "LinePrice": 388,
                    "Cpmc": "一鹿(路)有你永生花小夜灯",
                    "Instro": "永生花礼盒",
                    "Sales": "2831",
                    "img": "https://img01.hua.com/uploadpic/newpic/1073264.jpg_220x240.jpg",
                    "count":1
                }, {
                    "ItemCode": "1073396",
                    "Price": 229,
                    "LinePrice": 319,
                    "Cpmc": "蒲公英的约定/永生花礼盒",
                    "Instro": "用礼盒将蒲公英精心收藏！",
                    "Sales": "113",
                    "img": "https://img01.hua.com/uploadpic/newpic/1073396.jpg_220x240.jpg",
                    "count":1
                }, {
                    "ItemCode": "1073407",
                    "Price": 699,
                    "LinePrice": 899,
                    "Cpmc": "一见倾心/镜面爱心永生花礼盒-挚爱红",
                    "Instro": "精品大号镜面心形红玫瑰永生花",
                    "Sales": "53",
                    "img": "https://img01.hua.com/uploadpic/newpic/1073407.jpg_220x240.jpg",
                    "count":1
                }, {
                    "ItemCode": "1073330",
                    "Price": 399,
                    "LinePrice": 498,
                    "Cpmc": "磁悬浮永生花灯/蓝牙音箱款",
                    "Instro": "磁悬浮创意永生花台灯，带蓝牙",
                    "Sales": "1056",
                    "img": "https://img01.hua.com/uploadpic/newpic/1073330.jpg_220x240.jpg",
                    "count":1
                }
            ]
        },
        'dg': {
            'tit': "蛋糕精选",
            'data': [
                {
                    "ItemCode": "5602016",
                    "Price": 238,
                    "LinePrice": 338,
                    "Cpmc": "四重奏蛋糕(约2磅)",
                    "Instro": "方形/巧克力/榴莲/慕斯蛋糕",
                    "Sales": "8777",
                    "img": "https://img01.hua.com/uploadpic/newpic/5602016.jpg_220x240.jpg",
                    "count":1
                }, {
                    "ItemCode": "5570006",
                    "Price": 199,
                    "LinePrice": 299,
                    "Cpmc": "幸福满满·进口奶油蛋糕/8寸",
                    "Instro": "生日蛋糕",
                    "Sales": "81",
                    "img": "https://img01.hua.com/uploadpic/newpic/5570006.jpg_220x240.jpg",
                    "count":1
                }, {
                    "ItemCode": "5231109",
                    "Price": 249,
                    "LinePrice": 349,
                    "Cpmc": "狮子座“王者之路”开心果爆浆蓝莓蛋糕/6寸",
                    "Instro": "蓝莓、树莓、草莓、慕斯",
                    "Sales": "7",
                    "img": "https://img01.hua.com/uploadpic/newpic/5231109.jpg_220x240.jpg",
                    "count":1
                }, {
                    "ItemCode": "5550004",
                    "Price": 198,
                    "LinePrice": 298,
                    "Cpmc": "十拼慕斯网红创意生日蛋糕/8英寸",
                    "Instro": "十拼慕斯生日蛋糕",
                    "Sales": "688",
                    "img": "https://img01.hua.com/uploadpic/newpic/5550004.jpg_220x240.jpg",
                    "count":1
                }
            ]
        },
        'lpjx': {
            'tit': "礼品精选",
            'data': [
                {
                    "ItemCode": "1087068",
                    "Price": 399,
                    "LinePrice": 499,
                    "Cpmc": "SKG颈椎按摩仪经典款带蓝牙/白色",
                    "Instro": "全新升级二代蓝牙控制",
                    "Sales": "400",
                    "img": "https://img01.hua.com/uploadpic/newpic/1087068.jpg_220x240.jpg",
                    "count":1
                }, {
                    "ItemCode": "1087123",
                    "Price": 169,
                    "LinePrice": 299,
                    "Cpmc": "桑蚕丝法式复古丝巾/田园款+DDC蒸汽暖颈贴",
                    "Instro": "组合礼品，温暖又贴心的精选礼物",
                    "Sales": "93",
                    "img": "https://img01.hua.com/uploadpic/newpic/1087123.jpg_220x240.jpg",
                    "count":1
                }, {
                    "ItemCode": "1065046",
                    "Price": 296,
                    "LinePrice": 396,
                    "Cpmc": "麋鹿水晶音乐盒/旋转蓝牙音箱",
                    "Instro": "一路（鹿）有你，水晶球蓝牙音箱音乐盒",
                    "Sales": "985",
                    "img": "https://img01.hua.com/uploadpic/newpic/1065046.jpg_220x240.jpg",
                    "count":1
                }, {
                    "ItemCode": "1076119",
                    "Price": 1699,
                    "LinePrice": 2650,
                    "Cpmc": "迪奥小姐花漾淡香水50ml+花秘瑰萃尊享套装礼盒",
                    "Instro": "迪奥新款礼盒",
                    "Sales": "184",
                    "img": "https://img01.hua.com/uploadpic/newpic/1076119.jpg_220x240.jpg",
                    "count":1
                }
            ]
        },
        'qkl': {
            'tit': "巧克力精选",
            'data': [
                {
                    "ItemCode": "1207010",
                    "Price": 288,
                    "LinePrice": 388,
                    "Cpmc": "巧克巧蔻定制16粒装手工夹心巧克力",
                    "Instro": "手工夹心巧克力",
                    "Sales": "5839",
                    "img": "https://img01.hua.com/uploadpic/newpic/1207010.jpg_220x240.jpg",
                    "count":1
                }, {
                    "ItemCode": "1204059",
                    "Price": 288,
                    "LinePrice": 388,
                    "Cpmc": "LAUENSTEIN手工松露巧克力酒味夹心黑巧克力礼盒16粒",
                    "Instro": "德国进口酒心黑巧克力16粒",
                    "Sales": "266",
                    "img": "https://img01.hua.com/uploadpic/newpic/1204059.jpg_220x240.jpg",
                    "count":1
                }, {
                    "ItemCode": "1207067",
                    "Price": 198,
                    "LinePrice": 298,
                    "Cpmc": "蜜语心形礼盒",
                    "Instro": "夹心巧克力",
                    "Sales": "2091",
                    "img": "https://img01.hua.com/uploadpic/newpic/1207067.jpg_220x240.jpg",
                    "count":1
                }, {
                    "ItemCode": "1201030",
                    "Price": 289,
                    "LinePrice": 389,
                    "Cpmc": "巧罗无蔗糖纯手工花式夹心巧克力25颗礼盒装—格蕾之心",
                    "Instro": "无蔗糖手工花式巧克力",
                    "Sales": "398",
                    "img": "https://img01.hua.com/uploadpic/newpic/1201030.jpg_220x240.jpg",
                    "count":1
                }
            ]
        }
    },
    'listImg': [
        {
            'id': 1,
            'img': "https://img02.hua.com//chanpintupian/2022shouye/flowers1.png",
            'text': "鲜花"
        },
        {
            'id': 2,
            'img': "https://img02.hua.com//chanpintupian/2022shouye/forever1.png",
            'text': "永生花"
        },
        {
            'id': 3,
            'img': "https://img02.hua.com//chanpintupian/2022shouye/cake1.png",
            'text': "蛋糕"
        },
        {
            'id': 4,
            'img': "https://img02.hua.com//chanpintupian/2022shouye/gifts1.png",
            'text': "礼品"
        },
        {
            'id': 5,
            'img': "https://img02.hua.com//chanpintupian/2022shouye/chocolate1.png",
            'text': "巧克力"
        },
        {
            'id': 6,
            'img': "https://img02.hua.com//chanpintupian/2022shouye/srzf2.png?v122",
            'text': "生日祝福"
        },
        {
            'id': 7,
            'img': "https://img02.hua.com//chanpintupian/2022shouye/bbqh2.png?v122",
            'text': "表白求婚"
        },
        {
            'id': 8,
            'img': "https://img02.hua.com//chanpintupian/2022shouye/swky2.png?v132",
            'text': "商务开业"
        },
        {
            'id': 9,
            'img': "https://img02.hua.com//chanpintupian/2022shouye/znjn2.png?v122",
            'text': "周年纪念"
        },
        {
            'id': 10,
            'img': "https://img02.hua.com//chanpintupian/2022shouye/qytg2.png?v111",
            'text': "企业团购"
        },
    ],
    'footerImg': [
        {
            'id': 1,
            'img': "https://img02.hua.com/m/pro_detail/m_details_brand_01.png",
            'text': '获评鲜花龙头企业'
        },
        {
            'id': 2,
            'img': "https://img02.hua.com/m/pro_detail/m_details_brand_02.png",
            'text': '1~3小时送花上门'
        },
        {
            'id': 3,
            'img': "https://img02.hua.com/m/pro_detail/m_details_brand_03.png",
            'text': '赛事冠军花艺师团队'
        },
        {
            'id': 4,
            'img': "https://img02.hua.com/m/pro_detail/m_details_brand_04.png",
            'text': '严选花材'
        },
        {
            'id': 5,
            'img': "https://img02.hua.com/m/pro_detail/m_details_brand_05.png",
            'text': '12道严苛品控标准'
        },
        {
            'id': 6,
            'img': "https://img02.hua.com/m/pro_detail/m_details_brand_06.png",
            'text': '500万用户信赖好评'
        }
    ]
}
Mock.mock('/api/list', 'get', function () {
    return {
        code: 200,
        data: data,
        message: 'success'
    }
}
)